package reflection;

public class ReflectPoint {
    private int x;
    public int y;
    public String str1 = "ball";
    public String str2 = "basketball";
    public String  str3 = "itcast";

    public ReflectPoint() {
    }

    public ReflectPoint(int x, int y) {
        this.x = x;
        this.y = y;
    }

    @Override
    public String toString() {
        return "ReflectPoint{" +
                "x=" + x +
                ", y=" + y +
                ", str1='" + str1 + '\'' +
                ", str2='" + str2 + '\'' +
                ", str3='" + str3 + '\'' +
                '}';
    }
}
